/*
 * This class was found at
 * http://www.kilobolt.com/day-5-the-android-game-framework-part-i.html
 * in an article by James Cho.  According to Cho the code was originally from
 * Beginning Android Games by Mario Zechner and under the Apache 2.0 license.
 * See http://www.apache.org/licenses/LICENSE-2.0.txt
 * 
 * The only modification made was preceding the name of the class with a K.
 */

package framework;

import java.util.List;

public interface KInput {
	public static class TouchEvent {
        public static final int TOUCH_DOWN = 0;
        public static final int TOUCH_UP = 1;
        public static final int TOUCH_DRAGGED = 2;
        public static final int TOUCH_HOLD = 3;

        public int type;
        public int x, y;
        public int pointer;


    }

    public boolean isTouchDown(int pointer);

    public int getTouchX(int pointer);

    public int getTouchY(int pointer);

    public List<TouchEvent> getTouchEvents();
}
